home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer: Getting Started / Internet Surfer - Getting Started (Wayzata Technology)(7231)(1995).bin / pc / textfile / faqs / ultrix_f < prev    next >
Encoding:
Internet Message Format  |  1995-01-01  |  58.6 KB

  1. Xref: bloom-picayune.mit.edu comp.unix.ultrix:17839 comp.sys.dec:13371 news.answers:4363
  2. Newsgroups: comp.unix.ultrix,comp.sys.dec,news.answers
  3. Path: bloom-picayune.mit.edu!enterpoop.mit.edu!ira.uka.de!news.belwue.de!ifi!news
  4. From: treese@lcs.mit.edu
  5. Subject: comp.unix.ultrix Frequently Asked Questions
  6. Version: 1.4
  7. Message-ID: <1992Dec2.134523.26063@ifi.informatik.uni-stuttgart.de>
  8. Followup-To: comp.unix.ultrix
  9. Summary: This posting contains a list of Frequently Asked Questions
  10.     (and their answers) about the ULTRIX operating system from
  11.     Digital Equipment Corporation.
  12. Last-Modified: 30 November 1992
  13. Sender: news@informatik.uni-stuttgart.de
  14. Organization: Informatik, Uni Stuttgart, Germany
  15. Date: Wed, 2 Dec 1992 13:45:23 GMT
  16. Approved: news-answers-request@MIT.Edu
  17. Archive-Name: ultrix-faq
  18. Lines: 1563
  19.  
  20. This is the Frequently Asked Questions posting for comp.unix.ultrix.  It
  21. is also posted on comp.sys.dec, but it is not a full FAQ for comp.sys.dec.
  22.  
  23. This FAQ is available in the following archive sites, in the file
  24. /pub/DEC/ultrix-faq.txt.
  25.  
  26.     gatekeeper.dec.com
  27.     crl.dec.com
  28.     decuac.dec.com
  29.  
  30. It can also be obtained by sending mail to ftpmail@pa.dec.com with the
  31. following lines:
  32.     connect
  33.     get /pub/DEC/ultrix-faq.txt
  34.  
  35. If the location of a file in an archive is not specifically mentioned
  36. below, it is in /pub/DEC on the above machines.
  37.  
  38. To make suggestions for changes or additions to this Frequently Asked
  39. Questions list, send mail to ultrix-faq@crl.dec.com.  Answers are
  40. especially appreciated.
  41.  
  42. An archive of recent postings to comp.unix.ultrix can be found via
  43. anonymous FTP on ftp.cc.rochester.edu in /pub/usenet/comp.unix.ultrix.
  44. Thanks to folks at the University of Rochester for providing this
  45. service.
  46.  
  47. Some general notes:
  48.  
  49. When used alone, the word "DECstation" is used to mean any of the
  50. DECstations or DECsystems that use MIPS RISC processors.
  51.  
  52. Unless otherwise specified, these answers refer to ULTRIX 4.3, which is
  53. the current release of ULTRIX.
  54.  
  55. Many people have contributed to this list, directly or indirectly.  In
  56. some cases, an answer has been adapted from one or more postings on the
  57. comp.unix.ultrix newsgroup.  Our thanks to all of those who post answers.
  58. The name (or names) at the end of an entry indicate that the information
  59. was taken from postings by those individuals; the text may have been
  60. edited for this FAQ.
  61.  
  62. This posting is not an official statement from Digital Equipment Corporation.
  63.  
  64. Alpha
  65. =====================================================
  66. A1. Where can I get more information about Alpha? **NEW**
  67. A2. Where can I find software that has been ported to Alpha? **NEW**
  68. A3. How well do Alpha systems perform? **NEW**
  69. A4. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean? **NEW**
  70.  
  71. Software
  72. ======================================================
  73. S1. How do I play music CDs on DEC CD-ROM drives?
  74. S2. Why does dxpsview sometimes crash with an X error?
  75. S3. How do I compile perl on RISC/ULTRIX?
  76. S4. Is it possible to run the newer 4.3 BSD syslogd on ULTRIX?
  77. S5. Where can I get a T-shell (tcsh) that works on ULTRIX 4.2?
  78. S6. How do I build gdb on RISC/ULTRIX?
  79. S7. Why doesn't "talk" work between DECstations and other machines?
  80. S8. Why doesn't troff work? **NEW**
  81. S9. How are /bin/sh and /usr/bin/sh5 related? **NEW**
  82.  
  83. Installation
  84. ======================================================
  85. I1. How do I copy a setld(8) tape?
  86. I2. How do I copy a CDROM installation kit to TK50?
  87.  
  88. Network
  89. ======================================================
  90. N1. What does the message "named: accept: Too many open files" in syslog mean,
  91.     and how can I fix it?
  92. N2. Why don't packet-filter applications like "tcpdump" or CAP work? **CHANGED*
  93. N3. OK, I've done all that and CAP still doesn't run.
  94. N4. I want to run the "screend" program but I get "Operation not supported
  95.     on socket".
  96. N5. I want to use screend but I'm not sure how to set up the
  97.     /etc/screend.conf configuration file.
  98. N6. Why can't ULTRIX 4.2 mount NFS filesystems that could be mounted with
  99.         ULTRIX 4.1?
  100. N7. How do I change the IP address of a diskless client?
  101. N8. Is ONC RPC (formerly "Sun RPC") supported under ULTRIX - and what should I
  102.     do to port my existing applications that rely on it?
  103. N9. How can I disable forwarding of IP packets on an ULTRIX system with two
  104.     network interfaces?
  105. N10. How can I run network daemons from inetd as users other than root? **NEW**
  106. N11. How do I decode "stale filehandle" messages from NFS? **NEW**
  107.  
  108. Disk
  109. ======================================================
  110. D1. Why doesn't ULTRIX 4.1 work with disks bigger than 1.2GBytes?
  111. D2. Where can I get a disktab entry for the XXX disk?
  112.  
  113. Programming
  114. ======================================================
  115. P1. What does "unaligned access" mean, and how can I fix it?
  116.  
  117. Laser and Line Printers
  118. ======================================================
  119. L1. Where can I get a printcap entry for the XXX printer?
  120.  
  121. Graphics
  122. ======================================================
  123. G1. Why does the X server use so much memory?
  124. G2. How can I build an X11R5 server for an ULTRIX 4.1 machine?
  125. G3. How do I change or get rid of the Digital logo on the login screen of 
  126.     my workstation?
  127. G4. How do I run MIT X11 Software?
  128. G5. How do I build X software that I got from the net?
  129. G6. Why do some applications run slowly on the DECstation PX and PXG
  130.     displays?
  131.  
  132. Hardware
  133. ======================================================
  134. H1. What are the pinouts of the MMJ jacks on the back of various DECstations
  135.     and VAXstations?
  136. H2. How do I set the SCSI ID on an RZ25? 
  137. H3. How can I get detailed information on the TURBOchannel?
  138. H4. What third-party hardware can I get for the TURBOchannel? **NEW**
  139. H5. Can I mix 8-Megabyte and 32-Megabyte boards in the DECstation 5000/xxx
  140.     family?
  141. H6. How can I find out which type of DECstation 5000 I have?
  142.  
  143. Miscellaneous
  144. ======================================================
  145. M1. What is the floating-point number representation on ULTRIX?
  146. M2. If the console is a graphics device, can it be used as a terminal for
  147.     full-screen applications?
  148. M3. How do I read a tar image from a TK50 tape if my only TK50 is on a VMS
  149.     machine?
  150. M4. Where can I get free source code for interesting programs on ULTRIX?
  151. M5. Where can I get technical information on the DECstation family of machines?
  152. M6. Where can I get performance information about DECstations? **CHANGED**
  153. M7. Why can't I submit a bug report by electronic mail?
  154. M8. How do I send mail to Digital employees?
  155. M9. How do I get a list of available patches for my release of Ultrix?
  156. M10. How can I get files available by anonymous FTP if I'm not connected
  157.     to the Internet?
  158. M11. How can I write documentation in Bookreader format? **NEW**
  159. M12. Why does ULTRIX restrict the number of users on the system? **NEW**
  160. M13. Where else can I discuss ULTRIX with other users? **NEW**
  161. M14. Where can I get on-line copies of the DEC Software Product Descriptions
  162.     (SPD)? **NEW*
  163.  
  164. ******************** Alpha ***************************************
  165.  
  166. =====================================================
  167. A1. Where can I get more information about Alpha? **NEW**
  168.  
  169. A variety of documents about the Alpha architecture and systems can be
  170. copied from gatekeeper.dec.com:/pub/DEC/Alpha.  See the README file for
  171. more information.
  172.  
  173. =====================================================
  174. A2. Where can I find software that has been ported to Alpha? **NEW**
  175.  
  176. gatekeeper.dec.com:/pub/DEC/Alpha/apps has several free programs that
  177. have been ported to Alpha.  Alpha support is also appearing in many
  178. kits from the originator.
  179.  
  180. =====================================================
  181. A3. How well do Alpha systems perform? **NEW**
  182.  
  183. Here is the SPEC performance summary for the Alpha systems announced
  184. in November, 1992:
  185.  
  186. DEC 10000 Model 610 AXP, @200 MHz
  187.  
  188.     SPECmark89     184.14
  189.     SPECint89       104.52
  190.     SPECfp89        268.60
  191.  
  192.     SPECint92    106.54
  193.     SPECfp92    200.36
  194.  
  195.  
  196. DEC 7000 Model 610 AXP, @182 MHz
  197.  
  198.     SPECmark89    167.43
  199.     SPECint89     95.06
  200.     SPECfp89    244.18
  201.  
  202.     SPECint92     96.58
  203.     SPECfp92    182.11
  204.  
  205.  
  206. DEC 4000 Model 610 AXP, @160 MHz
  207.  
  208.     SPECmark89    136.23
  209.     SPECint89     83.73
  210.     SPECfp89    188.45
  211.  
  212.     SPECint92     83.51
  213.     SPECfp92    143.10
  214.  
  215.  
  216. DEC 3000 Model 500 AXP, @150 MHz
  217.  
  218.     SPECmark89    121.50
  219.     SPECint89     73.47
  220.     SPECfp89    169.89
  221.  
  222.     SPECint92     74.30
  223.     SPECfp92    126.0
  224.  
  225.  
  226. DEC 3000 Model 400 AXP, @133 MHz
  227.  
  228.     SPECmark89    108.14
  229.     SPECint89     65.80
  230.     SPECfp89    150.6
  231.  
  232.     SPECint92     65.32
  233.     SPECfp92    112.2
  234. =====================================================
  235. A4. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean? **NEW**
  236.  
  237. The AXP is part of the trademark.  Trademarking a name internationally
  238. is challenging.
  239.  
  240. ******************** Software ***************************************
  241.  
  242. ==============================================
  243. S1. How do I play music CDs on DEC CD-ROM drives?
  244.  
  245. Music CDs can be played through a speaker jack on RRD42 CD-ROM drives,
  246. which is the one contained in the DECstation 5000/{120,125} box.
  247.  
  248. There are two different programs: A command line version and a
  249. Motif-based version. Both can be found in:
  250.  
  251.     gatekeeper.dec.com or decuac.dec.com
  252.     in /pub/DEC:
  253.             cdp.c[.Z]        /* command line version */
  254.             xcd_source.tar.Z    /* Motif version. */
  255.  
  256. Neither of these programs is supported by Digital.
  257.  
  258. ==============================================
  259. S2. Why does dxpsview sometimes crash with an X error?
  260.  
  261. dxpsview will often behave better if the "Watch Progress" item is selected
  262. from the Options menu.  You can use the following resource in your
  263. .Xdefaults file:
  264.  
  265. DPSViewer*watchProgress:        on
  266.  
  267. to make this the default behavior.
  268.  
  269. Some have reported that disabling the use of PostScript comments also helps:
  270.  
  271. DPSViewer*useComments:            off
  272.  
  273.  
  274. ==============================================
  275. S3. How do I compile perl on RISC/ULTRIX?
  276.  
  277. The following is valid for perl 4.0, patchlevel 10.  They will probably
  278. change in patchlevel 19.
  279.  
  280. The biggest trick in compiling perl on RISC/ULTRIX is fixing its
  281. notion of "volatile".  To do this, when Configure stops and asks you
  282. if you want to edit config.sh, do so. Search for the word "volatile"
  283. and change the "define" on that line to "undef".
  284.  
  285. On machines with a relatively small amount of memory, you may not want
  286. to use -O on eval.c, since the compiler can end up taking a long time
  287. to compile that file.
  288.  
  289. If the source directory is NFS-mounted, it is usually the case that you
  290. will see the message
  291.  
  292.    io/fs..........FAILED on test 18
  293.  
  294. This is harmless and can be ignored.
  295.  
  296. For patchlevel 19, you can ignore the comments above about "volatile".
  297.  
  298. ==============================================
  299. S4. Is it possible to run the newer 4.3 BSD syslogd on ULTRIX?
  300.  
  301. A version of the 4.3BSD syslog library and daemon that detects either
  302. 4.2bsd-compatible clients (which is what the Ultrix libc.a will help
  303. you create) or 4.3bsd-compatible clients, which are more flexible, is
  304. available by anonymous FTP from gatekeeper.dec.com in
  305. /pub/DEC/jtkohl-syslog.shar.
  306.  
  307. Another version that supports regular expressions in syslog.conf is available
  308. from decuac.dec.com, in /pub/DEC/syslog43.urc.tar.Z
  309.  
  310. ==============================================
  311. S5. Where can I get a T-shell (tcsh) that works on ULTRIX 4.2?
  312.  
  313. Versions of tcsh later than 6.01 run on ULTRIX 4.2.  The latest
  314. version the FAQ editor knows is 6.02, available by anonymous FTP from
  315. tesla.ee.cornell.edu. You do not need csh sources for this version of
  316. tcsh.
  317.  
  318. ==============================================
  319. S6. How do I build gdb on RISC/ULTRIX?
  320.  
  321. To build gdb, you will also need to install the GNU make.
  322.  
  323. For gdb 4.0 and later: 
  324. - unpack the tar file
  325. - cd <tar-root>
  326. - ./configure +subdirs decstation
  327. - cd H-decstation/T-decstation
  328. - gnumake
  329.  
  330. This will build the gdb binary in
  331. <tar-root>/gdb/H-decstation/T-decstation/gdb
  332.  
  333. Install this binary in the location of your choice (e.g. /usr/local/bin)
  334.  
  335. ==============================================
  336. S7. Why doesn't "talk" work between DECstations and other machines?
  337.  
  338. The original Berkeley talk protocol did not use network byte order, so
  339. machines with different byte order could not talk to each other.  This
  340. was fixed in 4.3BSD, and in recent versions of ULTRIX.  Some vendors
  341. have not fixed their software.  The 4.3BSD talk software is available
  342. from many FTP archive sites.
  343.  
  344. ==============================================
  345. S8. Why doesn't troff work? **NEW**
  346.  
  347. Digital doesn not support troff on ULTRIX, mostly because of the way
  348. AT&T licenses the software now.  However, you can use groff (GNU roff)
  349. which works pretty nicely and generates pure PostScript. There's a
  350. RISC/ULTRIX binary kit for groff available for FTP from decuac.dec.com in
  351.                     [Marcus Ranum, mjr@decuac.dec.com]
  352.  
  353. ==============================================
  354. S9. How are /bin/sh and /usr/bin/sh5 related? **NEW**
  355.  
  356. /bin/sh on ULTRIX is the traditional Bourne shell.
  357.  /usr/bin/sh5 is the newer "System V" shell and has functions and a
  358. few other odds and ends added to it. A comparison of the manual pages
  359. will give an idea of the differences.
  360.                     [Marcus Ranum, mjr@decuac.dec.com]
  361.  
  362. ******************** Installation ***************************************
  363.  
  364. ==============================================
  365. I1. How do I copy a setld(8) tape?
  366.  
  367. First, a few words about the format of a setld tape.
  368.  
  369. Tapes used by setld(8) consist of a number of tape files that contain the
  370. product subsets, installation control files and other stuff.  The fourth
  371. file on the tape is an uncompressed tar(1) archive of the inventory files
  372. (.inv), subset control programs (.scp) and control information (.ctrl).
  373. There is also a file that lists the subsets, their sizes and checksums
  374. (.image).  The tapes files after the 4th are the subset files.  They may or
  375. may not be compressed.  They will have a block size of 10 KB.  The order of
  376. lines in the .image file is the order of subset on the tape, with the
  377. classic exception.
  378.  
  379. There are two flavors of tapes; Layered product tapes and ULTRIX
  380. distribution tapes.  The first three files on layered product tapes will
  381. typically be space holders and only one 10 KB file.  Distribution tapes use
  382. the first three files for other things.  The 3rd of these files is dump(8)
  383. image of the root file system.  The block size of this file will be 10 KB.
  384. In the .image file for the distribution it would be listed ROOT:
  385.  
  386.     44419 12720 ROOT
  387.     01690 12080 UDTBASE420
  388.     47187 14340 UDTBIN420
  389.     etc...
  390.  
  391. So, on this distribution tape ROOT is 3rd, the installation control
  392. archive (INSTCTRL) is 4th, UDTBASE420 is 5th and so on.
  393.  
  394. The first two files are a primary and secondary boot program.  Whether
  395. the 2nd is necessary depends on system architecture.  The MIPS-based
  396. systems typically only use the first boot file; the VAX uses both.
  397. The block size of the first boot program is 512 bytes.
  398.  
  399. Copying a setld tape
  400.  
  401. Use dd(1) to copy each tape file using the appropriate block size.  When you
  402. run out of tape input files you're done.  For example, if you are using
  403. two tape drives:
  404.  
  405.        dd bs=512   if=/dev/nrmt0h of=/dev/nrmt1h
  406.        dd bs=10240 if=/dev/nrmt0h of=/dev/nrmt1h
  407.        dd bs=10240 if=/dev/nrmt0h of=/dev/nrmt1h
  408.        ...
  409.        mt -f /dev/nrmt0h rew
  410.        mt -f /dev/nrmt1h rew
  411.  
  412. ==============================================
  413. I2. How do I copy a CDROM installation kit to TK50?
  414.  
  415. The two shell shell scripts below can be used to duplicate CDROM or disk
  416. layered product distributions (note: not the base system) onto a TK50.
  417. They are not supported by Digital.
  418.  
  419. --------------------------cut here--------------------------------------------
  420. #!/bin/sh5
  421. # cdrom_kitcap
  422. # This script is based on one from "Guide for Preparing Software for
  423. # Distribution" (but this one really works).  This script prepares the
  424. # /etc/kitcap file which is needed by the gentapes script to create,
  425. # in this specific case, a copy of cdrom software (layered product only)
  426. # to TK50...
  427. # note: this script uses tmp space, insure $TMPDIR is pointing to a file
  428. # system with enough space to copy files...
  429. # Original author:   John R. Frandsen, Digital Equipment Corporation
  430.  
  431. TMPDIR=/usr/tmp
  432. KITCAP=$TMPDIR/kitcap
  433. CURVOL=1
  434.  
  435. BINDIR=`pwd`
  436.  
  437. touch $TMPDIR/space
  438. tar cf $TMPDIR/SPACE $TMPDIR/space
  439.  
  440. cd instctrl
  441.  
  442. I=`expr *.image : '\(.*\).image'`
  443. echo "Your product code is $I"
  444.  
  445. tar cf $TMPDIR/INSTCTRL *
  446.  
  447. echo "${I}TK:$TMPDIR:SPACE:SPACE:SPACE:INSTCTRL:\\" >> $KITCAP
  448.  
  449. for S in `awk '{print $3}' *.image`
  450. do
  451.     [ $S = ROOT ] && continue
  452.     . $S.ctrl
  453.     set -- `(IFS=:;echo $MTLOC)`
  454.     VOL=$1
  455.     LOC=$2
  456.     [ $VOL -ne $CURVOL ] &&
  457.     {
  458.         echo ":%%$VOL        CURVOL=$VOL" >> $KITCAP
  459.     }
  460.     echo ":$S\\" >> $KITCAP
  461.     cp $BINDIR/$S $TMPDIR
  462. done
  463. echo >> $KITCAP
  464.  
  465. mv $TMPDIR/kitcap /etc
  466. cd $BINDIR
  467.  
  468. --------------------------cut here--------------------------------------------
  469. #!/bin/sh5
  470. # disk_kitcap
  471. # This script is based on one from "Guide for Preparing Software for
  472. # Distribution" (but this one really works).  This script prepares the
  473. # /etc/kitcap file which is needed by the gentapes script to create,
  474. # in this specific case, a copy of disk software (layered product only)
  475. # to TK50...
  476. # Original author:   John R. Frandsen, Digital Equipment Corporation
  477.  
  478.  
  479. KITCAP=/tmp/kitcap
  480. CURVOL=1
  481.  
  482. touch space
  483. tar cf SPACE space
  484.  
  485. cd instctrl
  486.  
  487. I=`expr *.image : '\(.*\).image'`
  488. echo "Your product code is $I"
  489. cp $I.image ..
  490.  
  491. tar cf ../INSTCTRL *
  492.  
  493. cd ..
  494.  
  495. echo "${I}TK:`pwd`:SPACE:SPACE:SPACE:INSTCTRL:\\" >> $KITCAP
  496.  
  497. cd instctrl
  498.  
  499. for S in `awk '{print $3}' *.image`
  500. do
  501.     [ $S = ROOT ] && continue
  502.     . $S.ctrl
  503.     set -- `(IFS=:;echo $MTLOC)`
  504.     VOL=$1
  505.     LOC=$2
  506.     [ $VOL -ne $CURVOL ] &&
  507.     {
  508.         echo ":%%$VOL        CURVOL=$VOL" >> $KITCAP
  509.     }
  510.     echo ":$S\\" >> $KITCAP
  511. done
  512. echo >> $KITCAP
  513.  
  514. mv /tmp/kitcap /etc
  515.     
  516. #----------------------------------------------------------------------------
  517.  
  518.  
  519. ******************** Network ***************************************
  520.  
  521. ==============================================
  522. N1. What does the message "named: accept: Too many open files" in syslog mean,
  523.     and how can I fix it?
  524.  
  525. There is a bug in the ULTRIX version of named that causes it to run
  526. out of file descriptors when it does too many zone transfers.  A
  527. somewhat different version of named that does not have this problem
  528. can be found in cra-bind.tar.Z.  This version cannot use Kerberos for
  529. server-server authentication, as the ULTRIX version can.  It does
  530. support Hesiod data and queries.  It is not supported by Digital,
  531. although it is in active use on Digital's Internet machines.
  532.  
  533.  
  534.  
  535. ==============================================
  536. N2. Why don't packet-filter applications like "tcpdump" or CAP work?
  537.  
  538. Probably because you have not configured the packet filter into
  539. the kernel.  The default kernel configurations do NOT include the
  540. packet filter.  See "man 4 packetfilter" for full details, but basically
  541. the process involves
  542.  
  543.     editing your kernel configuration file
  544.         add "options PACKETFILTER"
  545.         add "pseudo-device packetfilter"
  546.     rebuilding your kernel
  547.     installing the new kernel
  548.     booting the new kernel
  549.     "cd /dev; MAKEDEV pfilt" to create the required entries
  550.  
  551. You might also want to add the following lines to /etc/rc.local:
  552. [ -f /usr/etc/pfconfig ] && {
  553.         /usr/etc/pfconfig +p +c -a 2>&1 & echo -n ' pfconfig'   >/dev/console
  554. }
  555.  
  556. This allows you to use promiscuous-mode applications, such as "tcpdump"
  557. or "nfswatch".  Note that the '-a' option to pfconfig allows any user to
  558. spy on the network.  If it is omitted, only root may do so.
  559.  
  560. There are also some patches for ULTRIX 4.2 and 4.2A for the
  561. packetfilter code.  Call Digital's Customer Support if you need them.
  562. The official description of the patches is below; here is some
  563. background information. ULTRIX 4.3 has all of the patches included.
  564. Note: these patches cause DECnet-OSI not to work.  To run DECnet-OSI
  565. on ULTRIX 4.3, you will need the latest patched version of
  566. net_common.o for 4.3.
  567.  
  568. Although not mentioned in the description, these patches should also
  569. make Ultrix more forgiving of certain incorrect 802.3 packets.  Such
  570. packets are sent by some 3rd-party implementations.  I don't think
  571. this will fix the problem in every case, since some Digital Ethernet
  572. interfaces filter out "bad" 802.3 packets in hardware.  The patches
  573. should work for DECstations and most DECsystems.
  574.  
  575. Note that if you install these patches and you have been running CAP,
  576. you should recompile CAP after removing the definition for ULT42PFBUG
  577. from the Configure script.  The ULT42PFBUG patch to CAP will not work
  578. once the kernel has been patched.  You should also *stop* doing
  579.  
  580.     ifconfig ln0 copyall
  581.  
  582. once you install the patches.
  583.  
  584. If you have been using tcpdump, nfswatch, or a similar monitoring
  585. program on an FDDI network, installing these patches will probably
  586. make that not work.  You will still be able to use tcpdump on an
  587. Ethernet, of course.  The reason for this is that tcpdump only worked
  588. on FDDI networks because of the bug that is fixed by these patches.
  589.  
  590. These patches are available for Ultrix 4.2 and 4.2A, and for both RISC
  591. and VAX.  They must not be applied to previous versions of Ultrix.
  592.  
  593. Finally, note you must install new versions of BOTH net_common.o
  594. and pfilt.o; you cannot just install one of the files.
  595.  
  596. /sys/{MIPS,VAX}/BINARY/net_common.o      
  597. /sys/{MIPS,VAX}/BINARY/pfilt.o
  598. -----------------------------------          
  599.                           (v4.2 RISC & VAX, v4.2a RISC)
  600.  
  601. Listed are problem resolved by these 2 patches:
  602.  
  603. 1. PACKET FILTER FAILS TO RECEIVE UNICASTS TO LOCAL HOST
  604.  
  605. The packet filter mechanism is supposed to allow a user application
  606. to receive packets that are sent to the local host, if no other
  607. protocol in the kernel wants to use the packet.  This worked fine
  608. in Ultrix 4.0 and 4.1, but in Ultrix 4.2 it is broken.
  609.  
  610. Apparently, setting "copyall" with ifconfig is a workaround, but
  611. this is an EXTREMELY inefficient workaround, and requires users
  612. to reconfigure their systems as super-user.
  613.  
  614. 2. PACKET FILTER IOCTL EIOCDEVP RETURNS WRONG MTU VALUE
  615.  
  616. A change was made to increase the size for ethernet packets
  617. from 1500 bytes to 1514 bytes which is the MAX size for the ethernet.
  618. This will allow 1500 bytes for the message and 14 bytes for the header.
  619.  
  620. Also corrected the value returned in endevp.end_MTU by the EIOCDEVP ioctl.
  621.  
  622. 3. 802.3/802.2 PACKETS NOT PROPERLY DELIVERED TO PACKET FILTER
  623.  
  624. The packet filter is defined, in its manual page, to provide packets
  625. to user applications exactly as those packets appear on the network.
  626. The current kernel code mangles the headers of 802.2 encapsulations
  627. of Ethernet packets, causing several popular applications to fail.
  628.  
  629.                         [Jeff Mogul, mogul@pa.dec.com]
  630. ==============================================
  631. N3. OK, I've done all that and CAP still doesn't run.
  632.  
  633. [See the previous topic for information on relevant patches for ULTRIX.]
  634.  
  635. There are several bugs in the Ultrix 4.2 packet filter mechanism, both
  636. of which affect CAP.  The details are complex, but you can solve one
  637. of them by doing (as super-user, probably from /etc/rc.local)
  638.  
  639.     /etc/ifconfig ln0 copyall
  640.  
  641. (substitute whatever interface type you are using for "ln0").  The
  642. other bug, which apparently only affects CAP when "Phase 2" is in use,
  643. requires a patch to CAP.  CAP patches are available from a number of
  644. archive sites, including gatekeeper.dec.com: in the directory named
  645.  
  646.     /pub/net/appletalk/cap/cap.patches
  647.  
  648. Another problem you may have is that some Ethernet interfaces sold for
  649. the Macintosh occasionally send incorrect 802.3 packet headers.  (The
  650. bug is that they send a packet whose length does not match the value
  651. provided in the 802.3 header's length field.  Ultrix 4.2, as well as
  652. some of Digital's Ethernet interface hardware, is strict about
  653. checking 802.3 header, and does not accept these packets.)  As of this
  654. writing, a patch is not yet available and there is no workaround.  If
  655. you can, you should try to get the vendor of the nonconforming
  656. interface to provide a solution.
  657.  
  658. Once you have obtained an up-to-date, fully patched copy of CAP 6.0,
  659. the Configure script does not automatically switch on the workaround
  660. code; you must manually edit the m4.setup file to turn the workaround
  661. code on.
  662.  
  663.                         [Jeff Mogul, mogul@pa.dec.com]
  664. ==============================================
  665. N4. I want to run the "screend" program but I get "Operation not supported
  666.     on socket".
  667.  
  668. By default, support for screend is not configured into the Ultrix 4.2
  669. kernel, and the documentation for this is missing.  Edit your kernel
  670. configuration file to include the line:
  671.  
  672.     pseudo-device   gwscreen
  673.  
  674. and rebuild your kernel (i.e., run /etc/config, then change to the
  675. right directory and do "make depend" and then "make").  Install the
  676. new kernel and reboot the system.
  677.  
  678.                         [Jeff Mogul, mogul@pa.dec.com]
  679. ==============================================
  680. N5. I want to use screend but I'm not sure how to set up the
  681.     /etc/screend.conf configuration file.
  682.  
  683. Get a copy of NSL Network Note NN-16, "Using screend to Implement
  684. IP/TCP Security Policies".  Send mail with "Subject: help" for
  685. information on how to order this, or just "Subject: send postscript
  686. nn-16" if you want to receive the PostScript file via return mail to
  687.     nsl-techreports@pa.dec.com
  688.      or ...!uunet!decwrl!nsl-techreports
  689.                         [Jeff Mogul, mogul@pa.dec.com]
  690. ==============================================
  691. N6. Why can't ULTRIX 4.2 mount NFS filesystems that could be mounted with
  692.         ULTRIX 4.1?
  693.  
  694. The version of SUN RPC shipped with ULTRIX V4.2 supports up to 32
  695. groups per user, whereas previous versions supported 8 groups per
  696. user.  Users that are members of more than 8 groups cannot NFS mount
  697. file systems from NFS servers using the version of SUN RPC that only
  698. supports 8 groups.
  699.  
  700. The error message  that nfs_mount will give you if you are in too many
  701. groups will look like this:
  702.  
  703. nfs_mount: crltrx:/usr/local server not responding: RPC: Authentication error;
  704. why = Invalid client credential
  705. nfs_mount: access denied for crltrx:/usr/local
  706.  
  707. The workaround is to reduce the number of groups you are a member of
  708. to eight or less to make NFS mounts work again.  In particular, you should
  709. check the number of groups that "root" is in.
  710.  
  711.  
  712. ==============================================
  713. N7. How do I change the IP address of a diskless client?
  714.  
  715. To change the IP address of a diskless client, first change it in
  716. whatever hosts database you use (BIND, /etc/hosts, or YP).  There is
  717. also a file in the client's /etc directory called netblk.c.  It looks like
  718. this:
  719.  
  720. #include <sas/mop.h>
  721. struct netblk   nblk={
  722. "server",
  723. 0x100b002a, "client", 0x100b003e, 0x100b00ff, 0xffffff00,
  724. 0,
  725. 5,
  726. 0,
  727. 0,
  728. "/dlclient0/client.root",
  729. "rz3b",
  730. ""
  731. };
  732.  
  733. The various fields of the structure are defined in /usr/include/sas/mop.h.
  734. Change the client's address (expressed here as a 32-bit integer), and
  735. compile netblk.c using 'cc -c netblk.c'.
  736.  
  737. The netmask and the broadcast address can also be changed here.
  738.  
  739. ==============================================
  740. N8. Is ONC RPC (formerly "Sun RPC") supported under ULTRIX - and what should I
  741.     do to port my existing applications that rely on it?
  742.  
  743. ONC RPC (formerly "Sun RPC") is not supported under ULTRIX. This means
  744. that not only may some library routines like "clnt_create" not exist,
  745. but that if they do, they may not work as expected. If you need to use
  746. RPC for an application can use the unsupported version of the RPC4.0
  747. distribution that is available for FTP from crl.dec.com and
  748. decuac.dec.com in pub/sources/rpc4.0-ultrix.tar.Z.
  749.  
  750. ONC RPC will be a supported component of Digital's OSF/1 product.
  751.  
  752.  
  753. ==============================================
  754. N9. How can I disable forwarding of IP packets on an ULTRIX system with two
  755.     network interfaces?
  756.  
  757. Put this in rc.local:
  758.  
  759. echo -n 'disabling kernel routing: ipforwarding '        >/dev/console
  760. /usr/etc/kvar -k -wl -s ipforwarding -v 0 /vmunix        >/dev/console
  761.  
  762. ==============================================
  763. N10. How can I run network daemons from inetd as users other than root? **NEW**
  764.  
  765. inetd will take a username as the fifth field.  This is not documented
  766. on the inetd manual page.  For example:
  767.  
  768. finger    stream    tcp    nowait    nobody    /usr/etc/fingerd    fingerd
  769.  
  770. ==============================================
  771. N11. How do I decode "stale filehandle" messages from NFS? **NEW**
  772.  
  773. In the message 
  774.  
  775.     NFS server: stale file handle _fs(21,154) file 4100
  776.  
  777. 21 and 154 are the major and minor device numbers.  4100 is the inode number.
  778. Running 'ls -l' on /dev will show the device numbers, so you can ask
  779. mount what directory the filesystem is mounted on.  Then use
  780.  
  781.     find <file system> -inum <inode no> -print
  782.  
  783. to find the file.
  784.                 [Peter Mayne, pjdm@chmeee.enet.dec.com] 
  785.                 [Greg Shapiro, gshapiro@monkeyboy.WPI.EDU]
  786.  
  787. ******************** Disk ***************************************
  788.  
  789. ==============================================
  790. D1. Why doesn't ULTRIX 4.1 work with disks bigger than 1.2GBytes?
  791.  
  792. There is a bug in the V4.1 SCSI driver that will only allow it to read
  793. something like (2 ** 21) or (2 ** 20) LBNs.  After that it wraps
  794. around to the beginning of the disk.  It is fixed in V4.2.
  795.  
  796. ==============================================
  797. D2. Where can I get a disktab entry for the XXX disk?
  798.  
  799. A collection of contributed disktab entries is in
  800. /pub/DEC/ultrix-disktabs on the usual archive machines.  Get a copy of
  801. the file for an up-to-date list.
  802.  
  803.  
  804. ==============================================
  805.  
  806. ******************** Programming ***************************************
  807.  
  808. P1. What does "unaligned access" mean, and how can I fix it?
  809.  
  810. Unaligned accesses typically come up when programs use malloc(3) or
  811. other memory allocation routines in atypical ways, or when programs do
  812. certain (hazardous) kinds of type casts.
  813.  
  814. malloc(3) returns data aligned to the most restrictive alignment (8
  815. byte boundaries on MIPS machines).  If you are writing your own
  816. malloc wrapper (say to add a reference count) and you write code like
  817. this:
  818.  
  819.     char *mymalloc(int size)
  820.     {
  821.       short *newmem;
  822.  
  823.       newmem = (short *) malloc(size + sizeof(short));
  824.       *newmem = 1; /* initialize reference count */
  825.       return (char *) (newmem + 1);
  826.         }
  827.  
  828. you are then returning a pointer that is no longer 8-byte aligned.  Now, code
  829. like
  830.  
  831.     int *i;
  832.     i = (int *) mymalloc(sizeof(int));
  833.     *i = 10;
  834.  
  835. will generate unaligned access messages whenever *i is used.
  836.  
  837. An example of dangerous casting would be something like 
  838.  
  839.         char buffer[100];
  840.         int i;
  841.  
  842.     i = (int)*((int *)&buffer[3]);
  843.  
  844. The program will usually still run correctly, because an exception
  845. handler in the kernel performs an unaligned read.  There are some rare
  846. cases, however, where the fixed read yields incorrect results.  The
  847. messages are printed by default because one usually wants to know when
  848. a program is generating the unaligned accesses.
  849.  
  850. Now, if you're only getting a few of these messages, it might not
  851. matter, but if you're getting pages of them (or worse, have turned off
  852. the logger because you were getting so many unaligned access
  853. messages), you might consider correcting your program.
  854.  
  855. You can use the uac(1) (Unaligned Acces Message Control) command to
  856. turn off the messages.
  857.  
  858. If you want to find the the problem in the source code, you can use dbx.
  859. Suppose the message is:
  860.  
  861.     Fixed up unaligned data access for pid 2337 (bozo) at pc 0x5ad364
  862.  
  863. This tells you that the problem occurs in the program "bozo".  In dbx,
  864. you would type, for example:
  865.  
  866.     % dbx bozo
  867.     (dbx) 0x5ad364/i
  868.  
  869.     *[main:206, 0x0x5ad364]  lw      r0,40(sp)
  870.  
  871. dbx prints the offending instruction, along with its location: line 206
  872. in main().
  873. If you need to do unaligned accesses, you might find the following useful:
  874.  
  875. int unaligned_load_word(int *src);
  876. int unaligned_load_half(short *src);
  877. unsigned int unaligned_load_uhalf(unsigned short *src);
  878. float unaligned_load_float(float *src);
  879. double unaligned_load_double(double *src);
  880.  
  881. void unaligned_store_word(int *dst,int val);
  882. void unaligned_store_half(short *dst,int val);
  883. void unaligned_store_float(float *dst,float val);
  884. void unaligned_store_double(double *dst,double val);
  885.  
  886. These unaligned access routines are an unsupported component of the
  887. standard C library on RISC/ULTRIX. They provide for alignment-safe
  888. access to the primitive data types (short,int,float,double). They are
  889. fairly fast as they use the special MIPS unaligned instructions
  890. (LWL,LWR,SWL,SWL) for doing the complicated part of the work.
  891.  
  892. If you are running ULTRIX 4.2, and you would like to disable the automatic
  893. fixup of unaligned accesses, use:
  894.  
  895. #include <sys/syscall.h>
  896. #include <sys/sysmips.h>
  897.  
  898. syscall(SYS_sysmips, MIPS_FIXADE, 0, NULL, NULL, NULL);
  899.  
  900. The above code fragment will disable address fixups for your process,
  901. and this will be inherited by any children. Where a fixup would have
  902. occured, you will get a SIGBUS.
  903.  
  904.  
  905. ******************** Laser & Line Printers **************************
  906.  
  907. ==============================================
  908. L1. Where can I get a printcap entry for the XXX printer?
  909.  
  910. A collection of contributed printcap entries is in
  911. /pub/DEC/ultrix-printcap on the usual archive machines.  Get a copy of
  912. the file for an up-to-date list.
  913.  
  914. ******************** Graphics ***************************************
  915.  
  916. ==============================================
  917. G1. Why does the X server use so much memory?
  918.  
  919. Xws and the other other DEC X servers generally grow larger with
  920. workload, not because of memory leaks.  When you start an X server,
  921. its process is quite small.  As applications are started, the server
  922. allocates memory for a variety of reasons to service requests from
  923. clients.  An example of this is allocating a pixmap.  When the
  924. resource is freed, the corresponding memory is freed back to the
  925. malloc pool, but the server image doesn't get any smaller.  This is
  926. true of any application where you malloc memory and then free it. If
  927. your workload is consistent, server growth is asymptotic, growing
  928. quickly at first, then tapering off.  In other words, if you exit the
  929. application that caused the server to allocate a lot of memory, the
  930. server size won't shrink when the application exits, but the server
  931. won't grow any larger if you run the same application the same way
  932. again.
  933.  
  934. Of course it's possible that a memory leak in the server still exists.
  935. If you think you have a memory leak, you should figure out which
  936. application you run that triggers the leak.  You should run that
  937. application several times, observing the server size with every
  938. iteration.  If the server grows by an appreciable amount each time,
  939. please file an SPR.
  940.  
  941. For workstations with minimal memory, we recommend that you use the
  942. following server command line arguments:
  943.  
  944.     -once    (restart the server afresh for each session)
  945.     -su     (inhibit save unders)
  946.     -bs     (inhibit backing store)
  947.  
  948. The -su and -bs flags essentially trade CPU for memory, making
  949. applications work harder in some cases to save server memory.  This
  950. tradeoff isn't as bad as it may sound.
  951.                     [Joel Gringorten, gringort@wsl.dec.com]
  952.  
  953. ==============================================
  954. G2. How can I build an X11R5 server for an ULTRIX 4.1 machine?
  955.  
  956. The display device drivers changed significantly between ULTRIX 4.1
  957. and ULTRIX 4.2.  To build an R5 server on ULTRIX 4.1 system, edit the
  958. Edit the file ultrix.cf in mit/config and #define OSMinorVersion to be
  959. 1.  This should cause the Xcfbpmax server to be built instead of the
  960. Xdec server.  Xdec only runs on ULTRIX 4.2.
  961.  
  962. ==============================================
  963. G3. How do I change or get rid of the Digital logo on the login screen of 
  964.     my workstation?
  965.  
  966. To have no logo displayed at all, add this line to /.Xdefaults:
  967.  
  968.     XSessionManager*displayLogo:    no
  969.  
  970. To replace the Digital logo with a different Encapsulated PostScript
  971. image, add the following to /.Xdefaults:
  972.  
  973.     XSessionManager*logoFile:       filename
  974.     XSessionManager*logoFullScreen: true
  975.  
  976. Make sure that "filename" is the full path to a PostScript file.
  977. Note that the PostScript should not end with a "showpage" or the page
  978. will print and then disappear with the "new page."
  979.  
  980. ==============================================
  981. G4. How do I run MIT X11 Software?
  982.  
  983. If you are running with Ultrix 4.2 or later, you should have received
  984. some sort of distribution media with "Unsupported" subsets on it.
  985. Among those subsets are the following:
  986.  
  987.     UDXUNFONTS420 'Unsupported MIT Fonts'
  988.         UDXUNMAN420   'Unsupported X11 Reference Pages'
  989.         UDXUNMIT420   'Unsupported X11 Components'
  990.  
  991. These subsets, in total, provide the fonts, manual pages, and clients
  992. from the X11 Release 4 distribution from MIT, with a few minimal
  993. changes to fix problems that cropped up after the MIT release.
  994.  
  995. If all you want is R4 clients, load the above subsets.  These subsets
  996. were built directly from the X Consortium sources and include all of
  997. the public patches.  The R4 clients will be installed in /usr/bin/X11;
  998. put that directory in your path in order to access them.  An ls on
  999. /usr/bin/X11 will also reveal the names of the applications that are
  1000. available.
  1001.  
  1002. If you have a previous version of Ultrix, or if you need X11 Release
  1003. 5, you will have to build from the X Consortium sources yourself.
  1004. There are some difficulties associated with building Release 4 from
  1005. source on Ultrix versions 4.0 and higher; fortunately, Release 5
  1006. corrects these problems, so be sure to start with a fresh Release 5
  1007. distribution.
  1008.  
  1009. Building from source should be a simple matter of editing the
  1010. mit/config/ultrix.cf file and then connecting to the toplevel
  1011. directory and typing ``Make World''.  If you are running Ultrix 4.2,
  1012. you don't need to edit ultrix.cf, but for other versions of Ultrix, be
  1013. sure to cd to mit/config and change the OSMinorVersion (and, for
  1014. versions of Ultrix prior to 4.0, the OSMajorVersion) number to the
  1015. appropriate number for your version of Ultrix.
  1016.  
  1017. As mentioned in another FAQ answer, the Xdec server provides
  1018. multiscreen capability for colour frame buffers, but features of
  1019. Ultrix required to support this capability are not present prior to
  1020. Ultrix 4.2; for those versions, the Xcfbpmax server will be built;
  1021. this server only supports one display per machine, and only DECstation
  1022. 2100 and 3100 and DECstation 5000 models running with the CX adapter.
  1023.  
  1024. The Xdec server should work on the following systems:
  1025.  
  1026.         DECstation 2100 Monochrome or Color Workstations
  1027.         DECstation 3100 Monochrome or Color Workstations
  1028.         DECstation 5000/1xx CX, MX or HX Single or Multiscreen Workstations
  1029.     DECstation 5000/2xx CX, MX or HX Single or Multiscreen Workstations
  1030.  
  1031. The support for the HX option on the above platforms is limited to
  1032. direct frame buffer I/O - the graphics processor present on the HX
  1033. board will not be used.  This means that performance with the R5
  1034. server will be substantially worse than performance with the
  1035. DEC-supplied server in most cases.  Support for the PX and PXG options
  1036. is not present in R5 in any form.  Support for the MX exists, but some
  1037. problems have been reported when attempting to render non-black,
  1038. non-white pixels.
  1039.  
  1040. Source to X11 Release Five can be copied across the Internet from
  1041. gatekeeper.dec.com (16.1.0.2), crl.dec.com (192.58.206.2), or
  1042. export.lcs.mit.edu (18.24.0.12).  Other internet archives may also
  1043. have full source distributions; asking around on the Usenet newsgroup
  1044. comp.windows.x will probably elicit this information.
  1045.  
  1046.  
  1047. ==============================================
  1048. G5. How do I build X software that I got from the net?
  1049.  
  1050. If you get source code to an X application from somewhere and want to
  1051. build it, here are a few helpful hints:
  1052.  
  1053. First, make sure the following subsets are installed:
  1054.  
  1055.         UDXUNMIT420
  1056.         UDXUNFONTS420
  1057.  
  1058. You may also find the man pages for the previous two subsets
  1059. useful.  They're in:
  1060.  
  1061.         UDXUNMAN420    
  1062.  
  1063. Next, add the following line to the end of /usr/lib/X11/config/site.def
  1064.  
  1065.         #define StandardIncludes -I/usr/include/mit
  1066.  
  1067. If there are any README files with the source code, now is a good time
  1068. to read them, and make any changes they suggest.
  1069.  
  1070. If you installed the MIT X11 distribution from MIT, rather than the
  1071. ULTRIX subsets, your local configuration may be different.
  1072.  
  1073. If there is an Imakefile:
  1074.  
  1075. If the source code has a file called "Imakefile" at the top of its
  1076. directory hierarchy, typing the following in that top-level directory
  1077. should build the application:
  1078.  
  1079.         xmkmf
  1080.         make Makefiles
  1081.         make depend
  1082.         make
  1083.  
  1084. To install the application, type
  1085.  
  1086.         make install
  1087.  
  1088.  
  1089. If there isn't an Imakefile:
  1090.  
  1091. You might have to edit the Makefile to make the application compile.
  1092.  
  1093. If ".h" files (like those for the Athena widget set, "Xaw") are not
  1094. being found, adding "-I/usr/include/mit" to the "cc" command(s) in the
  1095. Makefile will usually do the trick.
  1096.  
  1097. If you are having problems linking, try using "-lXext-mit" and "-lX11-mit"
  1098. instead of "-lXext" and "-lX11" in the Makefile.
  1099.  
  1100. ==============================================
  1101. G6. Why do some applications run slowly on the DECstation PX and PXG
  1102.     displays?
  1103.  
  1104. The PX and PXG graphics adapters are designed for high-speed
  1105. two-dimensional vector drawing and for high-speed three-dimensional
  1106. rotation and polygon fills, respectively.  In order to get maximum
  1107. performance in these specialized areas, both kinds of adapters have
  1108. their own intelligent on-board processor which do high-speed drawing
  1109. operations, and in the case of the PXG, a general purpose RISC
  1110. processor which does 3D rendering, scaling and rotation.
  1111.  
  1112. In order to optimize graphics performance, a tradeoff was made on both
  1113. of these boards which prevents your system CPU from directly accessing
  1114. display memory.  Allowing your system CPU to directly access display
  1115. memory would, at a minimum, cut the graphics accelerator performance
  1116. by a factor of two, and perhaps more.
  1117.  
  1118. Unfortunately, as a result, operations which involve the copying of
  1119. large images (Pixmaps) into or out of display memory are performed
  1120. much more slowly than they would be if the processor were able to
  1121. directly access system memory.
  1122.  
  1123. One example of this is the ever-popular background image.  The X
  1124. server keeps a Pixmap containing the pattern with which to paint the
  1125. root window; whenever an area of the root window is exposed, the X
  1126. server must copy that portion of the Pixmap over the relatively
  1127. low-performance I/O channel to the PX or PXG adapter, which then
  1128. copies it into display memory.
  1129.  
  1130. As a result, iconifying and deiconifying windows can become a fairly
  1131. slow experience, particularly on systems with lower TurboChannel
  1132. bandwidth.  In this case, the solution is simple; just use the
  1133. standard, boring background.  However, if an application that you use
  1134. actually needs to copy Pixmaps to the screen on a regular basis, you
  1135. will definitely experience slow performance; there's no way to fix
  1136. this problem.
  1137.  
  1138. Unless you need the vector performance of the PX or the 3D rendering
  1139. capabilities of the PXG, use one of the several boards DEC produces
  1140. which are optimized for windowing and imaging, such as the CX (dumb
  1141. colour frame buffer), MX (dumb monochrome frame buffer), HX (smart
  1142. colour frame buffer), or TX (imaging colour frame buffer).
  1143.  
  1144. ******************** Hardware ***************************************
  1145.  
  1146. ==============================================
  1147. H1. What are the pinouts of the MMJ jacks on the back of various DECstations
  1148.     and VAXstations?
  1149.  
  1150. This describes the 6-pin modified modular jack (MMJ) used for serial ports
  1151. on various DECstations and VAXstations, as well as on other DEC equipment.
  1152.  
  1153. DEC carries four DB-to-MMJ adaptors.  They are internally wired as follows
  1154.  
  1155.                    Rdy Out  TX+  TX-  RX-  RX+  Rdy In            
  1156.  Adaptor   Gender     1      2    3    4    5     6       Use with:
  1157. --------------------------------------------------------------------------
  1158.  H8575-A     F      20      2    7    7    3    6&8     VTxxx terminal
  1159.  H8571-C     M       6      3    7    7    2     20     DEC printer
  1160.  H8571-D     M       6      3    7    7    2     20     Modem
  1161.  H8571-E     M      20      2    7    7    3    6&8     Female terminal
  1162.                                                         or LaserWriter
  1163. --------------------------------------------------------------------------
  1164.  
  1165. RS-232 using DB-25 connectors:
  1166.                                                 DTE           DCE
  1167.                                              Terminal        Modem
  1168.                                             or computer
  1169. Pin Number Signal Name
  1170.     2          TD        Transmit Data                   -->
  1171.     3          RD        Receive Data                    <--
  1172.     7          GND       Ground                          ---
  1173.     6          DSR       Data Set Ready                  <--
  1174.     8          DCD       Data Carrier Detect             <--
  1175.    20          DTR       Data Terminal Ready             -->
  1176.  
  1177.  
  1178.  
  1179. ==============================================
  1180. H2. How do I set the SCSI ID on an RZ25? 
  1181.  
  1182. Back by the power connector are a row of 3 jumpers. These set the scsi
  1183. id. The one closest to the power connector is bit 2, and you install a
  1184. jumper to get a "1". The default id is 7, which conflicts with the
  1185. controller.  Note that the mounting bracket on the drive covers these
  1186. jumpers, so they are not immediately obvious.
  1187.  
  1188.  
  1189. ==============================================
  1190. H3. How can I get detailed information on the TURBOchannel?
  1191.  
  1192. The TURBOchannel is a 32bit synchronous I/O channel that is currently
  1193. used on products in the VAX, MIPS and ALPHA architectures. It is used
  1194. in both the workstation and server based systems. Software support for
  1195. VMS, Ultrix, and OSF/1 will be provided for the applicable systems
  1196. under thos three architectures. For specific product information
  1197. contact your local DEC sales person.
  1198.  
  1199. Use of the TURBOchannel does not require any license or fees. It is
  1200. free to both option and system vendors alike. The documentation that
  1201. is provided on-line is available for public use and may be copied, in
  1202. its entirety, and distributed freely.
  1203.  
  1204.  
  1205. Overview information:  There is a postscript presentation available on line at
  1206.  
  1207.         gatekeeper:pub/DEC/TriAdd/TURBO.ps
  1208.                      /TURBO.ps.Z    (compressed file)
  1209.  
  1210.  
  1211.         The script for the presentation is a postscript file
  1212.  
  1213.         gatekeeper:pub/DEC/TriAdd/TURBO_README.ps
  1214.                      /TURBO_README.ps   (compressed file)
  1215.  
  1216.  
  1217. TURBOchannel Specifications:    Are available on-line in postscript format for
  1218.                 anonymous ftp at
  1219.  
  1220.         gatekeeper:pub/DEC/TriAdd/turbo_hw_spec.ps   (hardware spec)
  1221.                      /turbo_hw_spec.ps.Z (compressed file)
  1222.  
  1223.         gatekeeper:pub/DEC/TriAdd/turbo_fw_spec.ps   (firmware spec)
  1224.                      /turbo_fw_spec.ps.Z (compressed file)
  1225.  
  1226.         gatekeeper:pub/DEC/TriAdd/turbo_sys_params.ps (system params)
  1227.                      /turbo_sys_params.ps.Z (compressed)
  1228.  
  1229.         gatekeeper:pub/DEC/TriAdd/tci_spec05c.ps     (ASIC spec)
  1230.                      /tci_spec05c.ps.Z   (compressed file)
  1231.  
  1232. TURBOchannel Industry Group:  The TURBOchannel protocol specifications belong
  1233.                   to an open industry group. The TcIG information
  1234.                   and meeting minutes can be found in the file
  1235.  
  1236.         gatekeeper:pub/DEC/TriAdd/tcigmeeting.ps     (meeting minutes)
  1237.                      /tcigmeeting.ps.Z   (compressed file)
  1238.  
  1239. TURBOchannel Support:    Technical support for TURBOchannel Option and System
  1240.             developers is available through Digital's TRI/ADD
  1241.             Program. Membership in Digital's TRI/ADD Program is
  1242.             free of charge. For more information contact
  1243.  
  1244. Digital's TRI/ADD Program    1.800.678.OPEN     Canada & US
  1245. 529 Bryant Ave. PAG-2        1.415.617.3452       Outside North America
  1246. Palo Alto, CA 94301-1616    1.415.853.0155       FAX
  1247.                 triadd@decwrl.dec.com
  1248.                     [AJ Casamento, ajc@pa.dec.com]
  1249. ==============================================
  1250. H4. What third-party hardware can I get for the TURBOchannel? **NEW**
  1251.  
  1252. There is a postscript version of the TRI/ADD Shippable Products
  1253. Catalog available for anonymous FTP at
  1254.  
  1255.         gatekeeper:pub/DEC/TriAdd/TAcatalog.ps
  1256.                      /TAcatalog.ps.Z   (compressed file)
  1257.  
  1258.         for Asian countries, the file is
  1259.  
  1260.         gatekeeper:pub/DEC/TriAdd/TA+catalog.ps
  1261.                      /TA+catalog.ps.Z  (compressed file)
  1262.  
  1263.  
  1264. The catalog contains more than just TURBOchannel based products, but
  1265. the TURBOchannel products have a special logo next to them which makes
  1266. them easy to identify.  An overview list (without product details) of
  1267. the catalog is the postscript file
  1268.  
  1269.         gatekeeper:pub/DEC/TriAdd/shortTAcatalog.ps
  1270.                      /shortTAcatalog.ps.Z (compressed file)
  1271.  
  1272.             or the text file
  1273.  
  1274.         gatekeeper:pub/DEC/TriAdd/shortTAcatalog.txt
  1275.                      /shortTAcatalog.txt.Z (compressed)
  1276.  
  1277.                         [AJ Casamento, ajc@pa.dec.com]
  1278.  
  1279. ==============================================
  1280. H5. Can I mix 8-Megabyte and 32-Megabyte boards in the DECstation 5000/xxx
  1281.     family?
  1282.  
  1283. All DS5000 series machines set the memory stride from the first memory
  1284. array module (this is true of the Personal DECstation and the
  1285. DS5000/1xx series and not just the DS5000/2xx machines). The only
  1286. supported configurations are those in which all of the memory array
  1287. modules are of the same capacity.
  1288.  
  1289. Memory array module types are:
  1290.  
  1291.         MS01-AA   1Mbit DRAM    DS2100,DS3100,PDS5000/20,PDS5000/25,DS5000/120,
  1292.                                 DS5000/125,DS5000/133
  1293.         MS01-CA   4Mbit DRAM    PDS5000/20,PDS5000/25,DS5000/120,DS5000/125,
  1294.                                 DS5000/133
  1295.         MS02-AA   1Mbit DRAM    DS5000/200,DS5000/240
  1296.         MS02-CA   4Mbit DRAM    DS5000/200,DS5000/240
  1297.  
  1298. However, you can place one memory array module of a smaller capacity
  1299. at the end of a series of higher capacity modules.
  1300.  
  1301.                 Slot            Module
  1302.  
  1303.                  0              MS02-CA
  1304.                  1              MS02-CA
  1305.                  2              MS02-AA
  1306.  
  1307. This configuration will work, and be properly recognized by Ultrix,
  1308. but it is not "supported." The console will see all of the memory
  1309. modules. The operating system will be expecting memory in 32MB
  1310. segments and when it hits slot 2 it will simply believe that there are
  1311. 24MB of failed memory on that module.
  1312.  
  1313. It will not be possible to support higher memory congigurations in the
  1314. DS5000 series machines with 16Mbit DRAM cards. The issue is that both the
  1315. physical memory address and the I/O address are provided by the same Kseg0
  1316. block (512MB) in the R3000. This will not change with the advent of the R4000
  1317. daughter cards, as it would require modification of the memory controller ASIC
  1318. (the MT chip) as well.
  1319.  
  1320.  
  1321. ==============================================
  1322. H6. How can I find out which type of DECstation 5000 I have?
  1323.  
  1324. If /etc/sizer -c returns:
  1325. DS5000                 then it's a 5000/200.
  1326. DS5000_100             then it's a 5000/1xx (where xx={20,25,33})
  1327. DS5000_300             then it's a 5000/240.
  1328. DSPERSONAL_DECSTATION  then it's a 5000/xx.
  1329.  
  1330. For something more specific on the 5000/1xx and 5000/xx, you need to
  1331. look at the messages printed out at last boot time (available in the
  1332. error log; use /etc/uerf -R -r 300).
  1333.  
  1334. ******************** Miscellaneous ***************************************
  1335.  
  1336. ==============================================
  1337. M1. What is the floating-point number representation on ULTRIX?
  1338.  
  1339. The floating point format differs depending on which architecture the
  1340. ULTRIX software is running on.
  1341.  
  1342. Digital's RISC machines all use IEEE floating point representation
  1343. with a little-endian byte ordering.  You can easily convert between
  1344. little and big endian ordering by reversing bytes within the floating
  1345. point number.
  1346.  
  1347. The VAX line uses a unique (although, given the popularity of VAXen)
  1348. quite well known floating point format.
  1349.  
  1350. The ULTRIX C libraries include routines which will translate between
  1351. RISC (IEEE) and VAX floating point formats.  Look under "ftoi" in
  1352. either the online or hardcopy documentation.
  1353.  
  1354. ==============================================
  1355. M2. If the console is a graphics device, can it be used as a terminal for
  1356.     full-screen applications?
  1357.  
  1358. The console emulates a dumb terminal, with no ability to address the screen.
  1359. To run anything like a screen editor, you must start the window system.
  1360.  
  1361. ==============================================
  1362. M3. How do I read a tar image from a TK50 tape if my only TK50 is on a VMS
  1363.     machine?
  1364.  
  1365. On VMS (assuming your tape drive on VMS is MUA0:) :
  1366.  
  1367.     mount/foreign/block=10240/record=10240 mua0:
  1368.     copy mua0: file.tar
  1369.  
  1370. On Ultrix:
  1371.  
  1372.     dcp -i 'vms::where$logical:file.tar' file.tar
  1373.  
  1374. ==============================================
  1375. M4. Where can I get free source code for interesting programs on ULTRIX?
  1376.  
  1377. The main FTP server for DEC is gatekeeper.dec.com, which maintains a
  1378. large selection of sources from the net in general, as well as public
  1379. code for ULTRIX, such as "monitor", "top" and other system-specific
  1380. tools.  ~ftp/pub/DEC has sources for several packages written by
  1381. employees at Digital (though they are not supported Digital products),
  1382. as well as some programs that required special changes to port to
  1383. ULTRIX.  More or less up to date copies the pub/DEC directory are also
  1384. available on crl.dec.com and decuac.dec.com. None of these sources or
  1385. utilities are "supported" by anyone other than their authors.
  1386.  
  1387. ==============================================
  1388. M5. Where can I get technical information on the DECstation family of machines?
  1389.  
  1390. Technical information on the DS3100, DS5000/200, and TurboChannel are
  1391. available in gatekeeper.dec.com:/pub/DEC/specs:
  1392.  
  1393. -r--r--r--  1 root     system     184329 Nov 19  1990 DS3100.ps.Z
  1394. -r--r--r--  1 root     system      77017 Nov 19  1990 DS5000_200.ps.Z
  1395. -r--r--r--  1 root     system       1336 Nov  6 17:36 README
  1396. -r--r--r--  1 root     system      24758 Nov 19  1990 tc_cfb.ps.Z
  1397. -r--r--r--  1 root     system      77051 Nov 19  1990 tc_ether.ps.Z
  1398. -r--r--r--  1 root     system      29304 Nov 19  1990 tc_scsi.ps.Z
  1399.  
  1400. Technical information on the new Personal DECstations 5000/20 and /25,
  1401. the DECstation 5000/133 and DECstation 5000/240 are available on the
  1402. net.  Included are the Technical Overviews and Info Sheets for the
  1403. products.
  1404.  
  1405. The files are on gatekeeper.dec.com:/pub/DEC/specs1.
  1406.  
  1407. -r--r--r--  1 root     system     159698 Dec 13 12:35 3maxp_info.ps.Z
  1408. -r--r--r--  1 root     system     336073 Dec 13 12:35 3maxp_teov.ps.Z
  1409. -r--r--r--  1 root     system     249185 Dec 13 12:35 3min_info.ps.Z
  1410. -r--r--r--  1 root     system     134107 Dec 13 12:35 maxine_info.ps.Z
  1411. -r--r--r--  1 root     system     311201 Dec 13 12:35 maxine_teov.ps.Z
  1412.  
  1413. "3maxp" ("3Max+") refers to the DS5000/240; "maxine" refers to the
  1414. Personal DECstations.
  1415.  
  1416. ==============================================
  1417. M6. Where can I get performance information about DECstations?
  1418.  
  1419. Performance information on some of Digital's systems is
  1420. available in gatekeeper.dec.com:/pub/DEC/performance:
  1421.  
  1422. DECSTATION_FAMILY_PERF_SUMMARY_APR_92.PS
  1423. decstation_family_perf_summary_apr_92.ps.Z
  1424.  
  1425.     Results of several well-known benchmarks for the DECstation 5000
  1426.     family
  1427.  
  1428. DECSYSTEM_FAMILY_PERF_SUMMARY_MAY_92.PS
  1429. decsystem_family_perf_summary_may_92.ps.Z
  1430.  
  1431.     Results of several well-known benchmarks for the DECsystem
  1432.     family
  1433.  
  1434. VAXSTATION_FAMILY_PERF_SUMMARY_MAR_92.PS
  1435. vaxstation_family_perf_summary_mar_92.ps.Z
  1436.  
  1437.     Results of 8 well-known benchmarks for the VAXstation 4000
  1438.     family
  1439.  
  1440. DS5100_TPCA_INFORMIX_MAR92.PS
  1441. ds5100_tpca_informix_mar92.ps.Z
  1442.  
  1443.     TPC Benchmark A for INFORMIX running on a DECsystem 5100
  1444.  
  1445. DS5500_TPCA_INFORMIX_MAR92.PS
  1446. ds5500_tpca_informix_mar92.ps.Z
  1447.  
  1448.     TPC Benchmark A for INFORMIX running on a DECsystem 5500
  1449.  
  1450. DS5100_TPCB_INFORMIX_DEC3.PS
  1451. ds5100_tpcb_informix_dec3.ps.Z
  1452.  
  1453.     TPC Benchmark B for INFORMIX running on a DECsystem 5100
  1454.  
  1455. DS5500_TPCB_INFORMIX_DEC3.PS
  1456. ds5500_tpcb_informix_dec3.ps.Z
  1457.  
  1458.     TPC Benchmark B for INFORMIX running on a DECsystem 5500
  1459.  
  1460. DS5000_25_TPCB_INFORMIX_APR92.PS
  1461. ds5000_25_tpcb_informix_apr92.ps.Z
  1462.  
  1463.     TPC Benchmark B for INFORMIX running on a DECsystem 5000 model 25
  1464.  
  1465. DS5000_240_TPCA_SYBASE_AUG92.PS
  1466. ds5000_240_tpca_sybase_aug92.ps.Z
  1467.  
  1468.     TPC Benchmark A for SYBASE running on a DECsystem 5000 model 240
  1469.  
  1470.  
  1471. ==============================================
  1472. M7. Why can't I submit a bug report by electronic mail?
  1473.  
  1474. At this time, Digital does not accept bug reports by electronic mail.  We
  1475. hope that this unfortunate situation may change in the future.  Please file
  1476. a Software Performance Report (SPR) instead.
  1477.  
  1478.  
  1479. ==============================================
  1480. M8. How do I send mail to Digital employees?
  1481.  
  1482. If you have Internet ftp capability, grab gatekeeper.dec.com:~ftp/gateway.doc,
  1483. which contains every bit of relevant lore we've ever collected on this topic.
  1484. If you must get by with what little information we have room for here in the
  1485. FAQ, well, read on.
  1486.  
  1487. The easiest way to find out how to get mail to a Digit is to have them
  1488. send mail to you.  If you get their mail, look at the headers (check
  1489. the "From:" line, in particular) and try sending mail to the address
  1490. as it appears to you.  (If your Digit doesn't know how to send you
  1491. mail, have them grab gateway.doc (it's DECWRL::"/gateway.doc" from the
  1492. inside) and read it carefully.
  1493.  
  1494. If you need to send mail to someone ``from scratch'', you will need to get
  1495. them to tell you their address.  If they say something like ``JOVE::VIXIE''
  1496. then the right way to reach them is one of:
  1497.  
  1498.     vixie@jove.enet.dec.com
  1499.     vixie%jove.enet@relay.dec.com
  1500.     ...!uunet!decwrl!jove.enet!vixie
  1501.  
  1502. If on the other hand they say something like ``I'm PAUL VIXIE @WRL,'' then
  1503. you can try one of these:
  1504.  
  1505.     vixie@wrl.mts.dec.com
  1506.     vixie%wrl.mts@relay.dec.com
  1507.     ...!uunet!decwrl!wrl.mts!vixie
  1508.  
  1509. In the best of all possible worlds they will say something like ``My address
  1510. is <vixie@pa.dec.com>'' in which case you should send to one of:
  1511.  
  1512.     vixie@pa.dec.com
  1513.     vixie%pa.dec.com@relay.dec.com
  1514.     ...!uunet!decwrl!pa.dec.com!vixie
  1515.  
  1516. If you try most or all of the above suggestions and can not figure out what
  1517. you're doing wrong, send mail to our gateway postmaster, which is one of:
  1518.  
  1519.     postmaster@dec.com
  1520.     postmaster@decwrl.dec.com
  1521.     ...!uunet!decwrl!postmaster
  1522.  
  1523. ==============================================
  1524. M9. How do I get a list of available patches for my release of Ultrix?
  1525.  
  1526. At this time, Digital does not publish lists of available patches.
  1527. The Customer Support Centers will inform you if you call about a
  1528. problem for which there is a patch.
  1529.  
  1530. ==============================================
  1531. M10. How can I get files available by anonymous FTP if I'm not connected
  1532.     to the Internet?
  1533.  
  1534. One way is to use the DECWRL ftpmail server.  To find out how to use
  1535. it, send a one-line message to ftpmail@pa.dec.com (or
  1536. ...!uunet!decwrl!ftpmail or decwrl::ftpmail).  The subject line can be
  1537. anything you want since it will be ignored.  The text of the message
  1538. should be one unquoted lowercase word: "help".
  1539.  
  1540. ==============================================
  1541. M11. How can I write documentation in Bookreader format? **NEW**
  1542.  
  1543. On ULTRIX, VMS, SunOS, and Windows, DECwrite will produce Bookreader
  1544. files.  On VMS, VAX Document will also produce Bookreader files.
  1545. Digital will provide information about the format of Bookreader format
  1546. files upon request, although it is apparently difficult to work with
  1547. (most have concluded that it's not worth the trouble).  If you're
  1548. interested in getting the format, send mail to the FAQ Editor, Win
  1549. Treese (treese@crl.dec.com), and he'll see about getting the
  1550. information.
  1551.             [Patrick Stephens, stephens@galvia.enet.dec.com]
  1552.             [Win Treese, treese@crl.dec.com]
  1553.  
  1554. ==============================================
  1555. M12. Why does ULTRIX restrict the number of users on the system? **NEW**
  1556.  
  1557. AT&T requires Digital to pay royalties on UNIX based on the number of
  1558. users of a system.  Other vendors may have different arrangements with AT&T,
  1559. or may choose other methods to comply with the terms.
  1560.                 [Win Treese, treese@lcs.mit.edu]
  1561.  
  1562. ==============================================
  1563. M13. Where else can I discuss ULTRIX with other users? **NEW**
  1564.  
  1565. The decstation-managers mailing list is a rapid-turnaround vehicle for
  1566. Ultrix (and maybe OSF/1 someday) administrators to reach a pool of
  1567. people with similar expertise who might be able to help them resolve a
  1568. problem they're having.  There's no discussion on the list--just
  1569. questions and summaries of responses to those questions.
  1570.  
  1571. To join the list, send a request to decstation-managers-request@ornl.gov.
  1572.  
  1573.                         [Dave Sill, de5@ornl.gov]
  1574.  
  1575. ==============================================
  1576. M14. Where can I get on-line copies of the DEC Software Product Descriptions
  1577.     (SPD)? **NEW*
  1578.  
  1579. Most SPDs can be found on gatekeeper.dec.com:/pub/DEC/DECinfo/SPD.  They
  1580. are numbered in the usual way; check the file "index" if you aren't sure
  1581. of the number.  Note that there are over 800, so 'ls' will get you a
  1582. long listing!
  1583.